$topHeight:53px; //头部的高度
$logoWidth:173px;


.headTop{ //头部的样式
    height:$topHeight;
    width: 100%;
    position: fixed;
    background: white;
    z-index: 9999;
    .topLogo{ //logo的样式
        width: $logoWidth;
        float: left;
        img{
            height: $topHeight;
        }
        
    }
    .topNav{
        position: relative;
        .logo-placeholder{margin-left: 37px;}
        li{ //导航栏的样式
            float: left;
            a{
                font-size: 14px ;
                text-decoration: none;
                font-weight: 700;
                color: #121212;
                line-height: $topHeight;
                margin-right: 28px;
                display: inline-block;
            }
        }
        
        .topSecondNav{
            width: 100%;
            position: absolute;
            left: 0;
            background: #F2F2F2;
            z-index: 999;
            .topSecondNavHide{ //头部的隐藏菜单   
                ul{
                    width: 100%;
                    li{
                        width: 13%;
                        font-size: 14px;
                        font-weight: bold;
                        line-height: 57px;
                        color: #616161; //滑过#395782
                        .navThirdHide{position: absolute;left: 0;width: 100%;padding-left: 6%;background: white;}
                        img{width: 24px;vertical-align: middle;}
                        dl{
                            float: left;
                            border-left: 1px solid #D6D6D6;
                            text-align: center; 
                            dt{line-height: 24px;a{color: #898989;font-size: 16px;font-weight: bold;}}
                            dd{line-height: 24px;a{color: #8E8E8E;font-size: 14px;font-weight: normal;}}
                            
                        }
                    }
                }
                
                
            }
            
        }
                
    }
    .topRight{ //头部右侧的样式
        float: right;
        margin-right: 63px;
        .topSearch{width:22px;margin-right: 40px;}
        li{
            line-height: $topHeight;
            float: left;
            margin-left: 10px;
            span{
                display: inline-block;
                a{;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-size: 14px;display: inline-block;margin-right: 4px; color: #121212;}
                #loginBtn{width:2em}
            }
            img{height: 22px;vertical-align: middle;}
            #buyCar-count{
                font-size: 12px;
               // position: absolute;
                width: 19px;
                height: 19px;
                line-height: 18px;
                padding-left: 2px;
                top: -23px;
                text-align: center;
                background: red;
                border-radius: 50% 50% 50% 0;
                left: 24px;
                color: #fff;
            }
        }
       
    }
    
    .topHeadSearch{ //头部搜索框
        position: absolute;
        height: $topHeight;
        width: 100%;
        top:4px;
        z-index: 1;
        img{width: 22px;}
        .searchviewBar{
            position: relative;
            width: 545px;
            height: 35px;
            padding-top: 10px;
            padding-left: 5px;
            background: #FBFBFB;
            div{display: inline-block;}
            .searchInput{
                input{font-size: 14px;height: 18px;width: 400px;color:#CDCDCD;border: none;margin-left: 1em; background: #FBFBFB;outline: none;}
            }
            .closebutton{
                position: absolute;
                right: 16px;
                img{width: 20px;}
            }
            
        }
        #searchResult{
            position: absolute;
            left:33%;
            background: #EEEEEE;
            width: 400px;
            li{font-size: 14px;margin-top: 10px;}
        }
    }
        
}

#shoppingCar{
    cursor: pointer;
}

//中间的的轮播图
.centerBanner{
    width: 100%;
    height: 600px;
    background: lightblue;
    position: relative;
    top:-6px;
    overflow: hidden;
    .imgBanner{
        width: 100%;
        position: absolute;
        li{
            float:left;
            img{width: 1349px;height: 100%;}
        }
        #Ool{
            position: relative;
           // width: 100%;
            height: 28px;
            left: 50%;
            margin-left: -173px;
            top: 570px;
            li{display: inline-block;height: 8px;width: 2px;line-height: 28px;background: white;margin: 0 17px;cursor: pointer;}
            .circle-active{width:20px;height:20px;background: transparent;border: 2px white solid;border-radius: 50%;margin-top: -7px;}
        }
        .clickTabImg{
            div{ position: absolute;width: 30px;height: 52px;z-index: 100; top: 274px;cursor: pointer;} 
            #btn-left{
                left: 32px;
                background: url("https://p2.lefile.cn/product/adminweb/2018/11/11/2a7f8349-14f0-42e1-afe8-7ae8afd54e1e.png") no-repeat;
            }
            #btn-right{
                right: 32px;
                background: url("https://p2.lefile.cn/product/adminweb/2018/11/11/cae7b801-0fe6-4691-ba99-239ba9d11576.png") no-repeat;
            }
        }
       
    }
    
}

//个人及家庭产品
.content1{
    .itemContent1{
        height: 1096px;
        margin-top: -6px;
        //background: lightblue;
        .itemTab{
            width: 100%;
            position: relative;
            li{
                width: 16%;
                height: 123px;
                display: inline-block;
                text-align: center;
                a{
                    p{
                        img{
                            width: 39px;
                            height: 40px;
                        }
                        span{
                                margin-top: 14px;
                                display: block;
                                text-align: center;
                                font-size: 14px;
                                color: #616161;
                                line-height: 20px;
                            
                        } 
                    }
                }
                .itemList{
                    position: absolute;
                    //top: 183px;
                    left: 0;
                    ul{
                        width: 1200px;
                        li{
                            width: 291px;
                            height: 381px;
                            margin-right: 12px; 
                            float: left;
                            position: relative;
                            background: #eee;
                            transition: all .5s linear;
                            &:hover{transform: scale(1.05);box-shadow: #757575 0 0 5px 1px;}
                                .imgWrap{
                                    position: relative;
                                    width: auto;
                                    height: auto;
                                    padding-top: 100%;
                                    img{
                                        position: absolute;
                                        top: 5%;
                                        left: 5%;
                                        width: 90%;
                                        height: 90%;
                                        vertical-align: top;
                                    }
                                }
                                .itemInfo{
                                    padding: 0 5%;
                                    width: 90%;
                                    text-align: center;
                                    position: absolute;
                                    bottom: 0;
                                    left: 0;
                                    box-sizing: content-box;
                                    .title{
                                        margin-bottom: 4px;
                                        font-size: 20px;
                                        line-height: 25px;
                                    }
                                    .subtitle{
                                        margin-bottom: 7px;
                                        font-size: 16px;
                                        line-height: 16px;
                                    }
                                    .price{
                                        font-size: 20px;
                                        line-height: 28px;
                                    }
                                    p{
                                        width: 100%;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                        letter-spacing: 0;
                                        color: black;
                                    }
                                }
                                
                                
                           &:last-child{
                                margin: 0 !important
                            }
                        }
                        
                    }
                    .moreContentMsg{
                                    position: relative;
                                    height: 382px;
                                    top:46px;
                                    width: 1200px;
                                    .left{
                                        float: left;
                                        width: 291px;
                                        height: 382px;
                                        img{width: 100%;height: 100%;}
                                    }
                                    .right{
                                        width: 897px;
                                        height: 382px;
                                        float: right;   
                                        overflow: hidden;
                                        img{height: 100%;width: 100%;}
                                    }
                        }
                }
               
            }
        }
    }
    
    
    .itemTitle{
        position: relative;
        height: 104px;
        line-height: 104px;
        .longLine{
            display: inline-block;
            width: 100%;
            vertical-align: middle;
            height: 1px;
            background-color: #ccc;
            text-align: center;
        }  
        .bigTitle{
            width: 100%;
            text-align: center;
            position: absolute;
            top: 0;
            p{
                font-size: 32px;
                line-height: 104px;
                color: #616161;
                background: #fff;
                margin: 0 auto;
                width: 442px;
            }
        }
        
          
    }

}

//中小企业采购及服务
.content2{
   .itemContent1{
        height: 668px;
       .content2Li{
           li{width: 25%;}
       }
   }
}

//热门推荐
.content4{
    position: relative;
    height: 422px;
    width: 100%;
    background: #fff;
    .hotContent{
        height: 303px;
        position: absolute;
        bottom: 0;
        //top: 0;
        //left: 0;
        width: 100%;
        overflow: hidden;
        ul{
            width: 7854px;
            height: 303px;
            position: absolute;
            left: -278px;
            bottom: 0;
            li{
                float: left;
                padding-right: 20px;
                img{
                    width: 337.25px;
                    height: 303.3px;
                }
            }
                
        }
        .hotLeft{
            cursor: pointer;
            position: absolute;
            left: 7%;
            top: 23.19%;
            width: 48px;
            height: 76px;
            .left-btn {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border-radius: 6px;
                background: #000;
                opacity: .3;
                //z-index: 999;
            }
            .left-btn-icon {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: url("https://p3.lefile.cn/product/adminweb/2018/11/21/ee3c9b20-30ee-468c-8a4d-9f3f4ff72068.png") no-repeat center 28px;
            }
        }
        .hotRight{
            cursor: pointer;
            position: absolute;
            right: 7%;
            top: 23.19%;
            width: 48px;
            height: 76px;
            .right-btn {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border-radius: 6px;
                background: #000;
                opacity: .3;
            }
           .right-btn-icon{
               position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: url("https://p4.lefile.cn/product/adminweb/2018/11/21/bc68fd78-3e37-4aaf-9909-6b7d496d46f7.png") no-repeat center 28px;
           }
        }
    }
}

.stairs{
    width: 50px;
    height: auto;
    position: fixed;
    left: 10px;bottom: 200px;
    display: none;
    li{
        width: 50px;
        height: 50px;
        font-size: 12px;
        line-height: 50px;
        margin-bottom: 5px;
        text-align: center;
        color:#C00; 
        cursor:pointer; 
        &:first-child,&:last-child{background: #C00;color: antiquewhite;}
    }
}


//脚部
.foot{
    background: #272727;
    .footContent{
        //width: 100%;
        margin: 0 auto;
        //position: relative;
        background: #272727;
        overflow: hidden;
        ul{
            float: left;
            padding: 60px 0 70px 0;
            width: 210px;
            li{
                margin-bottom: 12px;
                a{font-size: 13px;color: #CCCCCC;line-height: 1em;}
            }
            .footTitle{
                a{font-size: 16px;font-weight: bold; line-height: 1em;}
            }
        }
        
    }
}

//登陆遮罩层的样式
.login_shadow{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: .3;
    z-index: 10000099;
    background: #000;
    display: none;
}
